package com.jiamao.goplay.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.LayoutRes;
import androidx.databinding.ViewDataBinding;

import com.jiamao.goplay.ui.user.vm.EditUserPhotoItemVM;
import com.jiamao.goplay.ui.user.vm.UserEditPhotoAddrItemVM;

import me.tatarka.bindingcollectionadapter2.BindingRecyclerViewAdapter;

public class AnonymousReportPhotoAdapter extends BindingRecyclerViewAdapter {

    Context context;
    public AnonymousReportPhotoAdapter(Context context){
        this.context = context;
    }

    @Override
    public ViewDataBinding onCreateBinding(LayoutInflater inflater, @LayoutRes int layoutId, ViewGroup viewGroup) {
        ViewDataBinding binding = super.onCreateBinding(inflater, layoutId, viewGroup);
        return binding;
    }


    @Override
    public void onBindBinding(ViewDataBinding binding, int bindingVariable, @LayoutRes int layoutId, int position, Object item) {
        super.onBindBinding(binding, bindingVariable, layoutId, position, item);

    }

    public void refreshUI(){

//        CityMenuItemVM vm = (CityMenuItemVM) getAdapterItem(iondex);
//        vm.select.set(false);
//        notifyItemChanged(iondex);
//        notifyDataSetChanged();

    }
}
